package com.qfjy.mapper;

import com.qfjy.entity.po.MeetingType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MeetingTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MeetingType record);

    int insertSelective(MeetingType record);

    MeetingType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MeetingType record);

    int updateByPrimaryKey(MeetingType record);

    /**
     * 微信端 加载课题类别数据
     */
    @Select("select * from meeting_type where status=1 order by sort_num asc")
    public List<MeetingType>  selectMeetingTypeByStatus();
}